<div class="card_wrap" ng-repeat="item in dirCards.data track by $index">
  <div class="item">
    <div class="title" ng-bind="($parent.dirCards.config.title.content.key1?item[$parent.dirCards.config.title.content.key1]:'')+($parent.dirCards.config.title.content.split?$parent.dirCards.config.title.content.split:' ')+($parent.dirCards.config.title.content.key2?item[$parent.dirCards.config.title.content.key2]:'')" ng-style="$parent.dirCards.config.title.css"></div>
    <card-li data="item" rows="$parent.dirCards.config.rows"></card-li>

    <div class="card-bottom">
      <p ng-show="$parent.dirCards.config.state.show" ng-bind="item[$parent.dirCards.config.state.key]"></p>
      <div class="action">
        <a class="cancel" ng-show="$parent.dirCards.config.buttons.cancel_show||item.cancel_button_show" ng-click="$parent.dirCards.config.buttons.cancel({obj:item})" ng-bind="$parent.dirCards.config.buttons.cancel_txt||'取消'"></a>
        <a class="ok" ng-show="$parent.dirCards.config.buttons.ok_show||item.ok_button_show" ng-click="$parent.dirCards.config.buttons.ok({obj:item})" ng-bind="$parent.dirCards.config.buttons.ok_txt||'确定'"></a>
      </div>
    </div>
  </div>
</div>